package com.coinworld.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

@Data
public class User implements Serializable {

    private static final long serialVersionUID = 8597478709620712765L;
    @Id
    private Integer id;

    private String nickName;

    private String unionId;

    private String headImgUrl;

    private String qrcodeImgUrl;

    private String mobile;

    private String encryptedMobile;
    /**
     * 公众号openId
     */
    private String openId;

    /**
     * 用户等级
     */
    private Integer level;
    /**
     * 直属上级id
     */
    private Integer parentFirst;

    /**
     * 直属上级的上级id
     */
    private Integer parentSecond;

    private Date updateTime;

    private Date createTime;


    /**
     * 用户实名认证状态 0：未认证；1：已认证
     */
    private Integer authenticationStatus;

    /**
     * 用户账户id
     */
    private String accountId;

    /**
     * 实名认证支付状态
     */
    private Integer authenticationPayStatus;

    /**
     * 是否关注公众号
     */
    private Integer isFollowWxPublic;


    /**
     * 是够加入微信群
     */
    private Integer isAddWxGroup;

    /**
     * 用户支付密码
     */
    @JsonIgnore
    private String payPassword;

    /**
     * 用户登陆密码
     */
    @JsonIgnore
    private String loginPassword;

    /**
     * 蜂蜜兑换状态
     */
    private Integer honeyExchangeStatus;

    /**
     * 步数兑换状态
     */
    private Integer stepExchangeStatus;

    /**
     * 账户转账状态
     */
    private Integer transferAccountsStatus;

    /**
     * 用户禁用状态
     */
    private Integer userStatus;
    /**
     * 备注
     */
    private String remake;


    /**
     * 是否拥有钱包地址
     */
    private Integer isWalletAddress;
    /**
     * 用户微信号
     */
    private String wechat;

    /**
     * 是否参加创世计划
     */
    private Integer joinPlan;
    /**
     * 兑换会员卡禁用状态
     */
    private Integer cardExchangeStatus;

    private Integer teamLevel;

    private Integer inviteUnlockStatus;

}
